-
Couldn't load subscription status.
- Fork 792
[SYCL][NFCI] Handler class ABI cleanup [1/N] #20151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL][NFCI] Handler class ABI cleanup [1/N] #20151
Conversation
This PR prepares for removal (once preview breaking changes are
promoted) of the following handler APIs:
- `single_task(kernel, [](){})`
- `lambdaAndKernelHaveEqualName()`
- `getKernelName()`
sycl/source/handler.cpp
Outdated
| impl->MKernelData.setDeviceKernelInfoPtr( | ||
| &detail::ProgramManager::getInstance().getOrCreateDeviceKernelInfo( | ||
| toKernelNameStrT(getKernelName()))); | ||
| std::string(MKernel->getName()))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toKernelNameStrT implementation is under preview, I'd prefer not touching its uses and leave the actual "simplification"/inlining of *KernelNameStr*T types to after all the non-preview uses are completely removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toKernelNameStrTimplementation is under preview,
It can't be under preview because the code I'm changing is not under preview. I made the change because local build failed, but I've just realized that detail:: is missing
Couldn't have been caused by the PR, I will proceed with merge. The test had been already reported as hanging once: #13534 |
This PR prepares for removal (once preview breaking changes are promoted) of the following handler APIs:
single_task(kernel, [](){})lambdaAndKernelHaveEqualName()getKernelName()The first one was the user-visible API that was never part of the actual SYCL standard, the rest were the ABI entry points necessary to implement that API.